import { getUserIng } from 'common/js/util'

// export const httpUrl = '/api/yl-web'
export const httpUrl = 'http://47.100.210.33:82/yl-web'

export const ERR_OK = 1

export const ERR_TIMEOUT = 601

export const Static = '/static'

// 访问后台传的token值
export const options = () => {
  const User = getUserIng() || {}

  return {
    headers: {
      token: User.token
    }
  }
}
